package com.maxd.service.money;

import com.maxd.model.MoneyDetails;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface IMoneyDetailsService {

    MoneyDetails saveBody(Long userId, Integer type, Integer classify, String title, String content, Double money);

    Page<MoneyDetails> selectMoneyDetailsByUserId(Pageable pageable, Long userId);

    MoneyDetails saveMerchant(Long merchantId, Integer type, Integer classify, String title, String content, Double money);

    Page<MoneyDetails> selectMoneyDetailsByMerchantId(Pageable pageable, Long merchantId,Integer classify);

}
